﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" href="../css/money_box.css" />
    <title>预付货款</title>
    <style>
        .aui-bar-light {
            border-bottom: 0;
        }
        
        .bg-text h3,
        .bg-text .lastWeekIncome {
            color: #F2CA81;
        }
        
        .bg-text .lastWeekIncome {
            font-size: 1.5rem;
        }
        
        .cash span {
            font-size: 0.8rem;
        }
        
        body {
            background: #FFFFFF;
        }
        
        .title {
            display: -webkit-flex;
            justify-content: space-between;
            padding: 0 0.5rem;
            line-height: 2.2rem;
        }
        
        .titie div {
            color: #535353;
        }
        
        .bor_bom {
            border-bottom: 1px solid #DDDDDD;
        }
        
        .flex-1 {
            flex: 1;
        }
        
        .btn {
            margin-top: 2rem;
            text-align: center;
        }
        
        .btn div {
            margin: 0 auto;
            width: 150px;
            border-radius: 10px;
            color: #FFC73C;
            padding: 0.5rem 0.2rem;
            background: #4e536c;
        }
        
        .color-222 {
            color: #222222;
        }
    </style>
</head>

<body>
    <!-- 头部  s -->
    <header class="aui-bar aui-bar-nav aui-bar-light" style="background: #4e536c;">
        <a class="aui-pull-left aui-btn" onclick="back()">
            <span class="aui-iconfont aui-icon-left" style="color: #FFFFFF;"></span>
        </a>
        <div class="aui-title" style="color: #FFFFFF;">预付货款</div>
    </header>

    <!-- 头部  e  -->
    <div class="content">
        <div class="money">
            <div class="bg-text">
                <h3><b>￥</b><span class="lastWeekIncome">298199.9</span></h3>
                <span>上月收益（元）</span>
            </div>
            <div class="sum">
                <div class="proceeds">
                    <span>累计收益：</span>
                    <span class="cash">974647.<b class="totalIncome">00</b></span>
                </div>
            </div>
        </div>
        <div class="content">
            <div class="title bor_bom">
                <div class="color-222">本月预付款统计</div>
                <div class="color-222">
                    <a href="deal_details.html" style="color: #222222;">明细></a>
                </div>
            </div>
            <div class="title">
                <div>本月预付款： </div>
                <div><span class="monthImprest">15000000</span>元</div>
            </div>
            <div class="title">
                <div> 交易笔数： </div>
                <div><span class="transCount">357</span>笔</div>
            </div>
            <div class="title">
                <div>预期收益： </div>
                <div><span class="preIncome">298199.9</span>元</div>
            </div>
            <div class="btn">
                <div onclick="openCount()">全部月份</div>
            </div>
        </div>
    </div>


    <script src="../js/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
    <!-- <script src="../js/aui-dialog-old.js"></script> -->
    <script src="../js/comment.js"></script>
    <script src="../js/aui-popup.js"></script>
    <script type="text/javascript">
        window.onload = function() {
            // var obj = JSON.parse(window.localStorage.getItem('obj'));
            // var mobile = obj.mobile;
            // $.ajax({
            //     type: "POST",
            //     url: url + "appPos/coinBox",
            //     data: {
            //         "userAccount": mobile
            //     },
            //     success: function(res) {
            //         var res = res.datas;
            //         $('.lastWeekIncome').html(res.lastWeekIncome);
            //         $('.totalIncome').html(res.totalIncome);
            //         $('.monthImprest').html(res.monthImprest);
            //         $('.transCount').html(res.transCount);
            //         $('.preIncome').html(res.preIncome);
            //     },
            //     error: function(err) {

            //     }
            // });
        }

        function openCount() {
            window.location.href = 'pay_count.html'
        }
    </script>
</body>

</html>